package org.lztvn.elearning.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.lztvn.elearning.entities.User;

public interface IUserService {
	public Long addUser(User u);

	public void deleteUser(Long idUser);

	public void modifierUser(User u);

	public List<User> login(String username,String password);

	public List<User> listUser();
	
	public List<User> listTeacher();
	
	public User getUser(Long idUser);
	
	public User getUserByUsername(String userName);

}
